Fix/issue 89

Removed remove unused write_* functions in response to issue #89