The methods in `LayerStateStack` are all well commented, but they lack the doc comment format, they should be upgraded to doc comments by using `///`