MapUtils - added overload to provide Class<T> for runtime type checks.