Added begin and end to AsCollection