A computer system including a processor and memory for providing an alternate model for a primary model for extending a user interface of a host application by custom code, the primary model using a non-programmatic description of the relationship between components of the user interface and using a callback mechanism to provide notifications to the custom code, the system comprising: