Changed the prototype of the functions to match the original declaration.