Forgot return statement after redirecting to deprecated functions