Add dependency on legacy so project can be installed purely with composer