Rename put to handlePut as per review.