Type load exception fix - StructLayout needs to be removed from classes.