Updated MAIndexer to use autowired spring values.