Added IBrowser to better support unit testing.