Move path configuration to an initializer