Fixed handling of methods and symbol appearance in index.