added support for ready function on storage connection