Declare class methods.