Some logging left in here btw.