Fix synchronize command so that it accepts an argument - an array allowing (code|data|both|code data|data code).