Resetting controller.