Prior to the late 18th century, there was generally no organizational support for staff functions such as military intelligence, logistics, planning or personnel. Unit commanders handled such functions for their units, with informal help from subordinates who were usually not trained for or assigned to a specific task.