Although it is now difficult to be certain , the scales , claws , some protective armor and the beaks of dinosaurs would , almost certainly , have been composed of a type of keratin . Although it is now difficult to be certain , the scales , claws , some protective armor and the beaks of dinosaurs were probably composed of keratin .