Added leagues support.
Merge branch 'leagues'