Add flexible template in page::dispatcher