Avoid static state in the pdb reader