Changed vertex builder to handle __mro__