Document submit method. Closes #4