Fixed BMDieSwing function declarations