A clerk and an assistant clerk shall ex officio be clerk and assistant clerk to the magistrate of the district in his or her capacity of coroner.