Copied source code directly instead of using gist. Seems to interfere with comments.