Changed Data structure returned from getSuperclasses to avoid duplicates