Refactored code accordingly for bennu renderers v5  upgrade.