More info in this comment: https://issues.jboss.org/browse/CRW-450?focusedCommentId=13807045&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-13807045