Use new syntax to define WebPage's signals and callbacks.