Shared cache. Closes #51.