Always prepare parameters for extensions

Stable7 backport of #192 without extensions being able to modify the parameter list.