Fix compilation after moving utility method