Added initializer lists constructors for vec and rpc_vec.