Fixed bug in Class.observeKey() and Class.prototype.$observeKey()