Refactored Ninject resolvers' common implementation into abstract base class.