Added check for implementation of didFinishWithOptions method.