Add handler and sample controller.