Cleanup of robot score handling code.