Remove legacy functionality.