Remove :nopre: params; replace code:: directive

Fixes issues #177 and #171.