Moved my utility functions into a more specific scope.