Remove obsolete definitions.