Resolve constructor at run time