Add write checks. Renaming.
Merge pull request #3 from codemix/write-checks

Add write checks. Renaming.