Documentation for legends