}
else if (def instanceof View){
View view = (View) def;
views.put(def.getCamelCaseName(), view);
if (view.requiresEventBus()){
view.getDMO().addUsesRunContextItem("eventBus");
}
// All Views are available for access from the run context. They are created on demand.
RunContextItem rci = new RunContextItem();