Added writeBool(), removed cruft.