Modes now have the option to implement a get_layer() function, to decide at that moment what the returning layer should be when the display controller asks for it.