Rewrite for jgraham.