Removing deprecated injections