Minor code cleanup of the `bricks` example