Fix all unit test failures.
Accessor refactor seems to work now.
Should add some more unit tests.
Moved autorange into computeLayout.