Refactored an sample of BCEL.