Removed getVariable in Event replaced with type-safe version.