fix ClassBuilder class registration