Removed BWG4 integration (moved code to bwg4)