Add print() method