This also will cause thread safety issues.