Backport support for 'melm' directive.