Add support for cascade in topicref elements #1636