Added mainContent property to return content node.