The cyst wall is composed of all layers of the epidermis and has laminated layers of keratin towards the lumen of the cyst.