Added prototypes for a few necessary methods.