Added a type based factory.