Oh cool, I didn't see this function. Will update the code to use it and remove this.