Why not simply call return build(Stage.PRODUCTION);?