Remove useless definitions.