Adding registration for code-distributor callback.