Replaced EventManager with boost::signals2.