Changed base class for FBRewrite