Now uses sfx::Application