Updated unit tests.
Added write submodule.
Fixed up extensions...