Add support for passing multiple elements