Removing unused declarations