Allow index and type specification