Code for BuilderGenerator