version: mark some implementation details as protected