Applied Nelson's doc patch