versions added to api, small api improvements

Change-Id: Ie5daa16bca490d8dfb5802217fc5bf17ee6af1a2