Changed return value of vrs_ functions from int to int32_t.