Method call is forbidden but can be allowed if it is part of something else see notCms setRequire() in pageConfiguration() inside MultiConfigItem