The invention discloses a method of coating a medical device. User input is obtained comprising the user’s vision and goal, possible outcomes, influencing factors on the possible outcomes and relevant data for each of the influence factors. This invention also relates to pharmaceutical compositions comprising these compounds and to methods of using the compounds and compositions for blood half-life extension and contrast enhancement of diagnostic imaging. The closure may be lockable, and can also include a sensor to monitor its state. The registration parameter represents an assumed depth of an object which is visible in the input images.