Added some doc strings to the utility functions