Fix error calling static methods from static method