There is described inter alia a medical device having a surface which comprises a coating layer, the coating layer being a biocompatible composition comprising an anti-coagulant entity capable of interacting with mammalian blood to prevent coagulation or thrombus formation, which anti-coagulant entity is covalently attached to the surface through a linker comprising a thioether.