Using this combination results in failure of each request (ClassCastException). See JIRA for details.