Added comments about factory method.