Removed the *mode parameter because it's not needed.