Thanks Johan, Ove, Justin!this error was resolved after adding node.addMixin(). Now my doubt is, is it not possible to add Primary Node type itself as "cq:mytype'? Do I need to create CND file and then register it to achieve this?Thanks again for your help!