The visceral layer of a serous membrane: