I think it would be better to leave this.dpi = null; inside the constructor and add some jsDoc