Move schema work into module.