Add support of all selector types.
Code cleanup.
Multiple page analysis.