Added typecast to default struct.