https://issues.jboss.org/browse/JBTM-1411

Related to performance optimisations.