Clean up unused definitions.