Allow calling static methods as constructors