Add support for rebindings only within a specific image.