Removed getApplication() method from Package Trait