extend self in Indexer module for testing purposes