Adding initClass to initialize static functions