Variants resolving primitive
resolution optimization
added construct_from_any