Avoid usage of internal API to ensure compatibility with Axiom 1.2.14.