Add a way to change the hint image after allocation