Move _statusToScore to util.