Spec and roughly implement the write process.