Fixed method default params value as empty string. Fixes #45

* Also fixed param definition on methods