Remove unnecessary function declarations.