Delete of unused classes and translation of system codes