Bug fix: we also need to generate the nativetable entries from the classes