Utilities common to all of BEL.