Fix doc bugs.