Removed instanceof operations for league checking.
Removed all unused imports.