- notes are not mandatory.
- Refactored some code, towards removing functions in pi_activity.content.inc