Make the interpreter a sealed trait.