Adding pluggable security to Babel