Remove unused definitions.