Updating barf to force type of str