This startup code should go in the `initialize` method instead of the constructor.