merge schema class into datatype