moved reference to deprecated out of main