Automatically initializes/resets itself when it is needed.