Fixed the generation of internal implementations of abstract classes to actually work