Added some functionality to application.