Replaced xmldb:create-group() with sm:create-group(), as the former is
deprecated.