Actually define the dynamic methods correctly