Don't write if we don't need to.