Added support for registering WAR files.