Made some functions public in utils