Added checking for primitive argument type during assembly building