Add an initializer alongside the class factory method