fix: supporting classmethods