Allow setting units on bidimensional units; handle changes in reference units.
Added tag 1.3.5 for changeset 3b6bb9be1d2b