Remove function delarations not implemented in code