Figured there was a better way to do this.