Persistence and validation