Remove ActivityDefinitionType class; change ad type to URI.