added registered flag to MSGStore to enable read-only stores