runtime: More consistency in the API.