Added print method.