Use metadata for page states