Patch new schema plus index name generating method.