Call BW::Device explicitly instead of Device

Removes the assumption that Device == BW::Device to prevent errors
if Device has already been defined.