Removed unnecessary ajax calls.