Moving util methods higher up in the file.