Prevent `last_index`and `parameters` leak.
Merge pull request #60 from NicolasDupont/master

Prevent `last_index`and `parameters` leak in global.