I usually get around this by putting it all in the callback. Is there a preferred method, Alex?