Add missing hooks in BASP broker and publish()