[fix] declare class methods as class method