Support for exit and more abstract classes