According to the Texas Code of Criminal Procedure, which of the following is NOT a primary duty of a peace officer?