Allow viewOptions to be specified in item/layout controller.