Added measurements to the API.