Rewrite configuration class