convert enum DynamicType to enum class

guess we'd better upshift the names?