BUG: Fixed incorrect structure in chl.py.