WIP Fix 252: Support formatting units

Work in progress Fix for #252

**TODO**
- [x] Implementation;
- [x] Unit tests;
- [ ] Functional tests;
- [ ] Docs;

These can now just go away.