Various fixes plus API doc improvements.