Remove some pointless function declarations