major refactoring of the binding engine (polymer-4)