Removes prepare method which is no longer needed now that we use set_default_headers.