Adds enum for page type