The following callbacks should be redefined so as to take an instance of <task-frame> as an argument, rather than an instance of <gadget>.
frame-add-task frame-remove-task open-file save-file save-as-file about-task exit-task
For complete definitions of these callbacks, you should refer to the source code available in Appendix A or from the Open Example Project dialog in the environment.