Add compile class and command.