Storage API: Added beforeReturnByName hook