Clause callbacks and hooks model implemented, hooks not connected to UI