small change in class initialization to allow for minifications