Add PUT and DELETE handlers.