Support custom PATCH actions

Closes #10.