Cleaning up torUtils.

Considering integrating into views, but depends on how this class gets updated in the future.