enable injections on models