* Fixed compilation errors for beam