fix generic profile import problems

The `Assignment` constructor should accept only keyword arguments, otherwise the `Generic Profile` import will fail.