Reduce the complexity!
micro-optimizing document plugin

I see a thing.