Make sure observables can only be used with primitives