Abstract Helpers that makes it easier to unit test.