Adding topic legend.