Changes to help selenium tests.