I think you can easily move ``to_excel`` to core/generic.py (and remove from frame.py/panel.py)