A device comprising: a needle-free injector for injecting a substance through a surface of a biological body and a servo-controller for controlling the injector during the injection of the substance and in response to an indication of a viscosity of the substance.