Extension for bean and bean_panels to allow for panel context aware beans