Sorting structure.
Adding allowed child node types to db provider.