Delete redundant is_ptp check, as pointed out by jbaiter
Forgot to declare a signal on OutputPage class