Improve model layer consistency

To add a line in a layer, call add(<T>) in its parent instead of simply
invoking constructor