More optimisations for Bane.