Made adjustments to maintain support for Activiti 5.12(.1).

* Documented API compatibility issues;