I'd suggest type hinting against `JApplicationCms` now that the CMS apps are instances of that (which extends `JApplicationWeb`)