Added coverage and API documentation