Handle marshalling of int types