Refactoring Bricks