[stores] StoreClass: Migrate primary logic of registration/unregistration static to reduce memory used by instances of this class