Added patch() method.