changing default constructors visibility to protected

already fixed here f4a119e0a26a36929e4b75b6309adb1ad41a3262