Made generic parameter of IReflectionVisitor covariant.