remove unused function declarations