Fixed client-side versioning bug and added ds-stub for client testing.