Remove unused leftover declarations.