Object instanciation with reflection API