Add support for 'element' options.