Prevent objects from registering the same observer more than once.

This could lead to unintended side effects and difficult to track down bugs.