Merge "Use getLayerStack() instead of layerStack for input info"