Moved the observable extensions to separate class.