Add some return types to API documentation.