Revert "Dynamic import packages into decision tree"

This reverts commit 668f7ce86a86902a7fba28ae43e9b156b30f4b76.