Pharmaceuticals and biomaterials