INT: Added LayerDepth to Entity.