Don't validateReturns on nested functions.