Fixed build issue with method prototypes