Not only were they to maintain order , prevent crime , and protect life and property , but historically they were also to fight fires , suppress vice , assist in health services , supervise elections , direct traffic , inspect buildings , and locate truants and runaways .