[minor] support for canonical callbacks

[minor] added support in cluster, indices, and twitter
Canonical callbacks

Merged canonical callbacks with backward compatibility