Upgraded Pivotal API to version 5 (beta).