Bugfix: value parameter is ignored in ValueWrapper ctor

This bugfix is loosely related to issue #1.