You're right, sorry, I was looking at QgsMapLayerProxyModel implementation...