Also copy variables.