Sorted out persisting preferences and properties.