do not emit parameter name for functions taking no arguments

(backport to the 0.3.* branch)
Note changes up to version 0.3.3.
Note changes in 0.3.4.
Update META version to 0.3.4.