Add support for semantic parent.