Removes legacy from repo