Added some eclipse generated methods for better printing.