This replaces #850. It was decided that the functionality is provided by a separate module instead, to avoid unnecessarily bloating the core.