Fixed bug related to duplicate fields after flattening the inheritance hierarchy.
Merge pull request #2 from maziarrezaei/master

Fixed bug related to duplicate fields after flattening the inheritance h...