Replace for loop with addAll method for classes in VElement render method
Change VElement constructor argument order

Move `key` argument to the first place in the constructor to make API
more consistent.