Added request class for testing purpose.