Removed unused vars.