Fixed type and codegen is_a?