Make more use of the OFObject protocol.