Move newsml_allowed and newsml_enabled from util to the view.