Updated legacy file and added a doc page.