Added a new print() function to the World object.