Make sure subclasses of value objects behave correctly (fixes #188)