Retrofit for backwards compatibility.