Move parser into module.