ReadMethodGenerator: missing Castclass added.