Kind of a hack, but it works.