As well as living space for the king and the royal family, there is accommodation for the Moroccan Royal Guard. The palace complex also contains the Collège Royal, a school for senior members of the royal family,[6] a cookery school,[2] and a ground floor library built to contain the manuscript collection of Hassan II.[7]