Unnecessary check, type cannot be null because it is assigned with typof(T)