Changed to static lock.