added the result classes for definition API call