Avoid SystemStackError.