Disabling UselessAccessModifier for private in HybridSerializer class