Collection.createIndex now supports options parameter.