Actually, the reason why I put this in ``registry.py`` is so that we can use this for ``Queue`` as well. This will let us check if a certain function is already in enqueued, and if it is, how many instances of that function are in there. It will be a valuable addition for monitoring purposes, I think.

What are your thoughts on this?