This would be good to wrap with ``try...catch...finally`` to ensure that the units aren't changed unexpectedly if something goes wrong. In fact, we may want to eventually have that ``units`` property change handled by a context manager.