How are the functions of a regulatory agency different from those of service agencies?