Removed resolver from constructor arguments