Recover returned data type of some methods.

It doesn't support the backwards compatibility. Generator is good idea but paging feature needs to support more cases such as previous data, batch request etc.