Fiddling with the ConstructorResolver