`maria.LeafModel` and `maria.NodeModel` constructors for tree-structured models.