Added new getters to Vector2 and Rectangle.