Initial version. Unix untested.