added remote collection method checks in addition to local for lists and sets