wrap static methods properly