Add support for app.patch