Why is this subclassing `BaseHandler`?