Removed write-* functions