Removed all references to measurement types from the API.