Fixed #105 internal class codegen error