Adding legend support for gunatizes.