Removed the main method from Display.