Now the api is more friendly with multiple web frames.