Add NSView extension.