extracted pages plugin from stc.