Avoid return when not in a function.