doc for build.build_class