In fact this shouldn't be an optional argument and empty string must be explicitly passed when calling. Right now it's called 2 times only: with and without a string. Having string as optional argument doesn't really help anyone.