Took out references of Vec2 objects.