Fixed method prototypes.