remove deprecated functions.