Add print method.