Might be useful to add in a log statement here, if we ever need to debug this.