Remove extensions we don't use.