That would work too - though the Demo object would also need to know how to unattach itself.