Refactoring language classes.