Make native class object members delegate to static methods in the outer class