minor code docs improvements