Tweaked source code layout in docs.

Cleaner break between public interface and implementation.