Fixes a context issue for Rekapi 1.0.0 compatibility.