WIP: added deprecations in forest.py