This would require some extensive refactors — I placed it here because the block immediately following will send back an error code if the object doesn't exist. Now that you mention it I think may have skipped over dealing with ongoing issues like that; I will examine. :/