Added basic support for observables.