remove old schema.methods loop

The schema.methods loop was improved (line 2653), but the old loop was left behind.