Updated version of 1.3-stable

Added method beforeFetch used in WarningExit.
Added support for beforeVisit function.