Remove unnecessary #includes and definitions.