Added '@cond' and '@endcond' on public interface.

Added '@cond' and '@endcond' on public interface, this is a workaround
to remove 'private' methods from docs.