Cleaning: deprecated stuff in their own file

Having all deprecated functions in one place will make it easier to check whether some are still in use, see 57f69f08c ...