Refactor doc strings.