Removing a warning on client side collection