Add the ability to register a class of notifiers that accept an attachment. This allows the user to reuse the same notifier for many different IoFuture instances.