Remove needless enum.