Add 'get_request_body' method to input core class.