Rename BaseController and Metric to ControllerBase and MetricBase, to avoid conflicts.