Adjusted to the new way Polymer elements have to be defined.