The Security Service's areas of responsibility are counter-espionage, counter-terrorism, protection of the Constitution of Sweden and protection of sensitive objects, including royal and diplomatic protection. It is to be expected that its work is often surrounded by a great deal of confidentiality. In recent years, however, there has been a development towards greater openness. It is the duty of the Security Service to detect and take measures against crimes against national security, and in many cases, the Security Service also handles the investigations of such crimes. Sometimes, however, such investigations are carried out by regular police units, while the Security Service provides the necessary intelligence.