Added a type resolver.