add @page compilation support