Cleaned up A_problems partially.