Cleaner compilation code, with less duplicated code.