For ghosts, Grim made it so when you hit a brick it decollisions it until you are fully through it, at which time it cleans up the triggers and recollisions the brick, so it is possible to get players through bricks with no need to do anything to an extent.