Renamed some variables to prevent element hiding.