added move functions for ClassMethod