Replaced isPublished field by a status field and corresponding constants