Allow enabling on a per-document basis