rm: deprecated functions