Remove deprecated functions.