Removes the uri since it's not used