Or we could configure the options in the `serviceRegistry` ? That way we can easily implement the singleton pattern?