Allow put to take success and error callbacks