Add add_patch method