This needs to be done differently for Scala 2.10 and 2.11 since scala.Option’s serialVersionUID changed between these series.