mode instances for scalars. Moved Scalar into Mode. nats dependency