Cleaning up extern declarations.