But when the class **CaptureCache** extends the **AbstractPattern** the method `setOptions()` doesn't return the child type?