Index loaddoc optimizations.