Refactored the doAdmonitions() method to reduce its size
Refactored the HtmlChunkedPublisher::assembleBook() method to
reduce its length
Removed the magic methods from ParseEvent class

This error was reported by SensioLabs Insight (rule # 47-001):
  "PHP classes should not use magic methods"