added addAfter and addBefore in MChildrenHandling