Fix documentation and doc strings.