Allow synchronize to take an array (code|data|both|code data|data code).