Currently all the logic in the ActivityPub and Processing modules is related to the vanilla ActivityStreams object types.
We need to add a mechanism for easy plugging of external logic for specific types.
Step 1 would be to create a list of where these checks are done:
GetItemByType