New client API.
Build fixes.
Additional API work.