Split extensions out of conf.py