Fixes #4. Defer checking of property value type until it's necessary.