Added support for assigning a parameter group at creation (issue #100)