Made the third parameter optional.