Professional divers usually operate as members of a team with a duty of care for other members of the team. Divers are expected to act as standby divers for other members of the team and the duties of a standby diver include rescue attempts if the working diver gets into difficulties. Consequently, professional divers are generally required to be trained in rescue procedures appropriate to the modes of diving they are certified in, and to administer first aid in emergencies. The specific training, competence and registration for these skills varies, and may be specified by state or national legislation or by industry codes of practice.