Compilation: handle some easy deprecations.