DRY and bail if we have no UA code.