Updated utilities class with new functions.