Tomcat 8 compatibility.