constructor should init this, otherwise it's undefined.