Changed enrollment type to an enum.

Also added methods for default attachment/submission