On representing observables in quantum mechanics