Adding support for activity sub types.