Remove unneeded enum.