Return new function instead one deprecated.