Get rid of the alias (this breaks the code for now). Set points to attr_reader as they shouldn't be modified outside of the class. Make the initializer verify that each element of the points array is actually a Point.