This function is not consistent with the rest of the API. I think it should be removed.