Adding implicits resolution with type classes for phantom mock.