Improve the structure of the schema helper module.