Move Page routing constraint from lib to models