add section about writing extensions (#134).