Simplified dummy_indicies, added more documentation.