Hmm, this should be in render(), shouldn't it?