* event method now returns the id of the generated event
* is_valid_do method now returns the return value of the executed block instead of true