Misko's idea, thought we might include unit tests for it. But `transform` is the only part that really needs to be public, so let's push back on it since the tests for `transform` are passing. I've actually already refactored and changed this function somewhat in my upstream branch anyway