Justin Masterson pitched four scoreless innings.