Added w parameter to Collection.insert(), currently ignored.