Merge pull request #68 from onefinestay/fix-inheritence

fixing type inheritence
Merge remote-tracking branch 'origin/master' into fix-MRO
renaming mro to base_index