Method of manufacturing prosthetic device