Added support for Enum.