Arguments for constructors can be passed to the resolver method