move OStream's methods to protected section.