Added isEnum<T>() shortcut
Suppress warning