Merge branch 'release/0.4.1' into develop
Don't generate candidates if functions list is not a hash.
Bumped version number.
Merge branch 'release/0.4.2'