Refactor WebIntent.Java.