Add parent roles with traversable object
[#4020] Import Traversable