Formalized ProgressBar and WebView to inheritence