Adding utility and helper functions to library