Hi James,
Activity class is not marked "customizable" in the Kentico interface so it's not recommended to customize it like this then.
What you can do as a workaround is to write the required data in Activity Value in some structured way (i.e. json) and use in the code accordingly.