Add legacy support.