Fixed the function declaration.