Remove use of deprecated mirror API.