Proof-of-concept for ipython_directive