Various cleanup to API documentation