Support both styles: cls.apps and @applications