Remove unnecessary user state objects.