add support for custom elements, gross.