Fix framework errors.