We're using reflection at the moment. Once we've upgraded to a version of Tomcat where this commit is available, we should use the new accessor method instead.