Only run on writing.