Generalise logic for creating Redis storage key strings.
Rename redis and transaction callback functions; add documentation.