Use Raphael sets instead of array.