Putting trequests into a class.