mod - implement write for ModelIORedis.
mod - implement is_valid, fixes on base class.
mod - maintain model state internally.