Fixed issue with default_host argument for Application class.