Resolve enum.