Add some methods to Vector2d