Make the observer extensions ok with classes without a connection.