Make it possible to retrieve Optional<Service> from ServiceRegistry