Changed calls to addRole() to addRoleWithChildren()
Fixed addRoleWithChildren() and addRoleWithParents()