An implantable device includes a hollow biocompatible shell and filling material. The shell is configured to be implanted in an organ of a patient. The filling material is configured to fill the shell so as to assume a specified shape of the implantable device, and is visually distinguished from tissue of the organ that surrounds the implantable device.