Shifted collection API from collections to Flash