create-element is now a function (not a macro) and supports direct class specification