Added registerShutdownFunction() to README.1st