[CLEANUP] Code cleanup in ext:core/Collection