Turn implementation definitions to globals.