Type of page message replaced to enum constant