storage: more uri building from templates.
storage: improve jsdocs.