Candidate code for schema preprocessing

Candidate only. It really does nothing useful at this moment...