Pack some variables for mappings