Make profile factory configuration variables injectable