Fixed deprecation warning in kron.py.