Adding some fixes for gists.