Added some NSView category methods.