Implementation of alert, default user-agent, remove*Listener() methods, etc.