Making docs reader more generic.