Added ToArray and ToList implementations