Changed NoneValue to be a private object instead of a private val