Support just one constructor for remote classes

Change-Id: I5fe9a7919576d24441b42fbaab90b1635e47d0bb