State_plugin implementation, work on HasPrefAtom.