Bug fix in request class.