move utility functions to another package.