Allow unit specifications for all supported data
Merge pull request #4 from khinsen/write-units

Allow unit specifications for all supported data