remove obsolete definitions