Value now uses the reflect function instead of registry.