Make settings injectable