Making broadcast work for own type

Even though the code changed a bit, most of this is still relevant: