public getFormula() should be declared here! Not in the Brick class nor in the BrickBaseType.
Use the instance of operator to distinguish between normal Bricks (e.g. ScriptBricks) and FormulaBricks