Incorporated the CustomRotationClass in normal transform class only.