Clean up Alpha-Beta implementation.