Adds StoredObject::subscribe, plus unit tests.