Inputs now clear their maps before getting updated.