Add functions for add modules to schema