Refactor compilers classes.