Better documented the utility functions