Re-add deprecated functions with warnings