This is part of the code that doesn't work (delayed updated of classes) what I think is a bug in Polymer.
I thought I remove it all or keep it all.