Added "abort" method to Application class