Updated to have attach/detach volume work correctly.

Minor fixes to work against the actual released API specs. Previous implementation was based on the proposed specs.