Moving the configuration methods to static methods