The 'final' modifier is redundant on toplevel objects (see Scala specification: https://www.scala-lang.org/files/archive/spec/2.13/05-classes-and-objects.html#final)