Document type assertion and int32 expectation