Added some AI Pathing functions.