Fixed loading metadata for parent classes
Merge pull request #1 from chives/dev

Fixed loading metadata for parent classes.