Added tostring methods to the classes in common and background packages