Optimized HeaderFooterAdvice to get Model parameter. Added Widget
Controller.