Actually it does indeed call createParam() through UnknownElement.handleChildren() method, so there is no issue with it. Not sure what the problem was then…
Feel stupid now and tempted to delete this post, but I’ll leave it here, so that people will know that it works!