Finish converting all code to modules.