Use \OC::$server instead of DI for simplicity