Add method which was removed but make it deprocated