Add view mode support, currently returns error: ** Fatal: (init): cannot lower reference to T_VIEW_DECL