Added reference param support for ruby ctors