Move saving known posts into its own method.