Introduced filter.addElementCallback method.
Changelog entry.
Merge branch 't/11737' into major