Implemented support for pagination and sorting for Terms.