Allow subclassing the CaptureActivity