Added setOwner method.