tions of criminal activities, arresting criminal offenders, providing testimony in criminal trials, issuing citations, code enforcement, parking enforcement on public streets and parking lots, traffic control and signalization, education and crime prevention, and other matters related to public safety.