Removed unused reference and some other things causing bot to fail to compile