Add more supported length units.
And add a bit of documentation.