Fixes #3293: add possibility to enforce content of section