def unload_ipython_extension(ip):
    """Unload the extension in IPython."""
    if 'Athena' in ip.magics_manager.registry:
        del ip.magics_manager.registry['Athena']
    if 'Athena' in ip.config:
        del ip.config['Athena']
