This thing does not work. Getting error "Controller is not defined on root component" if a method is set as handler to any buttons onAction.