Add gist support, fixes #16.