Revert "Removed all unused imports."

This reverts commit 43b5b29c963984dfb8fc3632b899da4546333bb7.
Revert "Removed instanceof operations for league checking."

This reverts commit c37e394145764253d63a26216c417765fac3201b.