add mergeClasses method.
2.0.10