Added rotate to Vector APIs.