Rewrite the method to apply these configurations