Move variables to partial.