Added support for 'index :foo, :bar' in model definition