add merging methods when creating new classes
docs