Added correct class extends logic, now uses are supported and correct full class names are generated