structure names should work correctly with type equality checking