Figured out the right way to do this.