Allow custom legends

Custom legends were appearing off of the legend container due to
a previous refactor/update.  This restores the custom legends to the
container.