Improvements in the observer system and persistence code