Removing irrelevant code from the example.