Added basic support for a page control.