Simple factory static method.