Added some ajax calls.