Adds DELETE and PUT endpoints.