Abstract page and layout compilation to writer module.