Fixed the API to use size consistently.