ref in inpainting docs