Minor Fix

Removed unnecessary function from AI.