Embed orphan callback into source directly and allow local scope to be stripped