Rewrite sticky-parameters

Fixes #4