Fixed some inconsistencies in R.Store and improved API.