This function tells the referenced object (passed as REF) that it is now an object in PACKAGE--or the current package if no PACKAGE is specified, which is the usual case. It returns the reference for convenience, since a bless() is often the last thing in a constructor.