Make legend a class

We need some custom logic on our Legend, so we would like to start an API for it by creating a class that we can subclass. Is there a reason we should keep the functions as opposed to the Rickshaw.classes?