fixing smart constructor docs