Remove extensions that import code.