Adding indexes to the schema generator