Fixed bug where imports didn't save unit.
More docs.