Move protected members to private.

Add link to automatically generated documentation.