Set properties to match C implementation.