Initial support for legends