Properly invalidating shape.