Adds necessary slug index.