Made utilities files more consistent and well-documented.