Defer construction of a service until it is needed