Added ability to index categories and class extensions.