Remove write statements