Complete transfer of subroutines to module.