Added missing return to new function.