We should get rid of all the obsolete stuff here. In particular legacy if it is no longer used.
legacy