Take sizeof object for mono compatability