This is a hack, but it works for now.