Move overrides to the beginning.