Initial commit - Add prototype from writelatex.