Modifications in pdf recognition.