Move user definitions to databags.