Cleaned up the league API wrapper