Use prototype inheritance for observables if supported.