Consistent use of OperationPresence.

Don't get a provider as a OperationPresence, and then cast it to a
OperationPersistentPresence. If a provider doesn't implement both
this will cause a ClassCastException.
Enable IRC bundles