Create a hasMany relationship for rectangles and circles.