Make sure protected methods are marked as private.