Added JW.index and JW.indexByMethod.