It seems only one method in this class is being used on mobile&desktop, rest is being used on mobile. An idea: create `ImageTweaksMobileHooks.class.php` with mobile methods only and `ImageTweaksHooks.class.php` with the only desktop method.