Bugfix: We can only merge available revisions.
Added generic observer mechanism.