I am not sure whats up with this diff - the function was just moved into the local anon namespace