Allow to override the default content element template (see #4547)