Added type aliases ToList and ToArray for backward compatibility