The purple pigment in the muscle scar of Crassostrea could well serve to strengthen the shell at that point. Now we just need to find someone to test the hypothesis. Gary