Adding function, doc and test for VIA support.
Merge trsp VIA support into 'develop' branch.