Added missing "GetMode<T>" method