Clean syntax and inject configuration array