Add gist support. Fixes #3