Add some deprecated functions and replace the Point related to Vector2